//调用接口配置文件
import { request } from 'config/request'
// 定义接口
// 导出接口
export async function downLoadFile(params) {
    return request({
        url: `admin/agent/export`,
        method: 'POST',
        data:params
    });
};

export async function remove(params) {
    return request({
        url: `admin/agent/expireBrokerInviteById`,
        method: 'POST',
        data:params
    });
};
export async function getArea(params) {
    return request({
        url: `admin/qrcode/region/area/tree/get`,
        method: 'GET',
        data: params,
        })
};
export async function AllEstateList(params) {
    return request({
        url: `admin/estate/adminList`,
        method: 'POST',
        data: params,
    })
};
export async function querylist(params) {
    return request({
        url: `admin/agent/listBrokerInvite`,
        method: 'POST',
        data: params,
    })
};